package com.wz.project.system.prjgroup.mapper;

import com.wz.project.system.prjgroup.domain.PrjgroupEmployee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrjgroupEmployeeMapper {

    int insertList(@Param("peList") List<PrjgroupEmployee> prjgroupEmployees);

    /**
     * 查询
     * @param prjgroupId 项目组id
     * @return
     */
    List<PrjgroupEmployee> selectListByPrjgroupId( @Param("pgId") Integer prjgroupId);

    void deleteByPrjgroupId(@Param("pgId")Integer prjgroupId);

}
